Interacting with a remote server over a network to determine whether to allow data exchange with a resource at the remote server

ABSTRACT

Provided are a computer program product, system, and method for interacting with a remote server over a network to determine whether to allow data exchange with a resource at the remote server. Detection is made of an attempt to exchange data with the remote resource over the network. At least one computer instruction is executed to perform at least one interaction with the server over the network to request requested server information for each of the at least one interaction. At least one instance of received server information is received. A determination is made whether the at least one instance of the received server information satisfies at least one security requirement. A determination is made of whether to prevent the exchanging of data with the remote resource based on whether the at least one instance of the received server information satisfies the at least one security requirement.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a computer program product, system, andmethod for interacting with a remote server over a network to determinewhether to allow data exchange with a resource at the remote server.

2. Description of the Related Art

Computer users do not know whether a web site they are connecting to isexposed to a known security vulnerability issue. For instance, thesecurity bug known as Heartbleed (CVE-2014-0160) operates by exploitinga known security vulnerability by requesting an excessive amount of datato cause the server to return recent data in memory which may includepasswords, usernames and other sensitive information. To avoid theHeartbleed vulnerability after detected, users had to resort to manualchecking or verification of the remote web site.

Another recently discovered vulnerability is known as Shellshock(CVE-2014-6271), which is a vulnerability that has existed since 1992 inBash, a program that Unix based systems use to execute command lines andcommand scripts. The vulnerability exists in that web based requests andcommands can invoke calls to Bash that allow exploitation ofvulnerabilities. To probe if a remote system is exposed to Shellshock, atest may be performed to attempt to extend an innocuous command, such asecho, beyond a bash variable setting, and check if the command executes.If it does, the system is exposed to the Shellshock vulnerability.

There is a need in the art for improved techniques for detectingsecurity vulnerabilities with servers and code to protect web users.

SUMMARY

Provided are a computer program product, system, and method forinteracting with a remote server over a network to determine whether toallow data exchange with a resource at the remote server. Detection ismade of an attempt to exchange data with the remote resource over thenetwork. At least one computer instruction is executed to perform atleast one interaction with the server over the network to requestrequested server information for each of the at least one interaction.At least one instance of received server information is received inresponse to each of the at least one interaction for the requestedserver information. A determination is made from the at least oneinstance of the received server information whether the at least oneinstance of the received server information satisfies at least onesecurity requirement. A determination is made of whether to prevent theexchanging of data with the remote resource based on whether the atleast one instance of the received server information satisfies the atleast one security requirement.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an embodiment of a network computing environment.

FIG. 2 illustrates an embodiment of a security policy.

FIG. 3 illustrates an embodiment of operations to determine whether toallow a user to exchange data with a remote server.

FIG. 4 illustrates an embodiment of operations to determine whether toallow a user to access an account at a remote web site having personalfinancial account information.

FIG. 5 illustrates an embodiment of a computer architecture used withdescribed embodiments.

DETAILED DESCRIPTION

Described embodiments provide techniques for determining whether toallow a user to exchange data with a resource at a remote server whenthe user is detected attempting to access the resource. Describedembodiments determine computer instructions to execute to interact withthe remote server to determine whether received server informationresulting from the interaction satisfies one or more securityrequirements. Failure of the received server information to satisfy thesecurity requirements indicates that the remote server may be vulnerableto a known security exposure, and that any exchange of information,e.g., user login attempt, user ID, password exchange, key exchange,sending of sensitive data, etc., should be prevented to avoid exposureto the security risk due to the presence of the known vulnerability.

FIG. 1 illustrates a computational environment having a computationaldevice 100 including a processor 102, comprising one or more processingdevices, and a memory 104 having various programs such as an operatingsystem 106, web browser 108, and a security program 110 to determinewhether to allow the user to exchange data with the remote server 114,such as login to an account 122 accessible through a web page 112 beingaccessed from the remote server 114 over a network 116 through the webbrowser 108. The security program 110 maintains security policies 200used to determine whether to allow the user to exchange data with theweb page 112 being accessed. There may be multiple servers 114 withwhich the computational device 100 communicates.

The computational device 100 communicates with the server 114 over thenetwork 116. The server 114 includes a web server 120, such as aHypertext Transport Protocol (HTTP) server, to provide access to webpages 112 maintained at the server 114 and user accounts 122 having userinformation and authentication and login information for users thatlogin in through a web page 112.

In one embodiment, the security program 110 may comprise a plug-inapplication of the web browser 108 or may be part of a computerprotection program, such as a program that reports or blocks access tounsafe web sites, such as a firewall product, anti-virus program.

The computational device 100 may comprise a laptop, desktop, smartphone,tablet, smartcard, server, workstation, etc. The server 114 may comprisea server class machine. The network 116 may comprise a Wide Area Network(WAN), Local Area Network (LAN), Storage Area Network (SAN), theInternet, and Intranet, a wireless network, wired network, etc. Thememory 104 may comprise one or more volatile or non-volatile memorydevices.

In one embodiment, the resource, e.g., user account 122, with which theweb browser 108 or other client program accesses may comprise a hostserver or storage server. In such case, the security program 110interacts with a network interface to access the storage or host overthe network 116. In embodiments where the network comprises a storagearea network (SAN), then the network interface may comprise a SANinterface such as Fibre Channel, Fibre Channel over Ethernet (FCoE),Internet Small Computer System Interface (iSCSI), etc.

FIG. 2 illustrates an instance of a security policy 200 _(i) of thesecurity policies 200, including a security policy identifier (ID) 202;a security policy type 204, which may indicate a type of security level,e.g., high, medium, low; a web site type 206 indicating a type of theweb site for which the security policy 202 applies; one or more computerinstructions 208 to perform one or more types of interactions with theserver 114 being accessed to obtain one or more types of serverinformation; a security requirement 210 for each of the one or moretypes of interactions indicating a requirement to compare with thereturned server information returned in response to the interaction; anda security action 212 to perform depending on the one or more instancesof returned server information satisfying one or more securityrequirements 210.

In certain embodiments, the computer instruction may request softwarelevels of software at the server 114, such as the operating systemlevel, communication protocol level, e.g., HTTP level, a securecommunication layer protocol, e.g., Secure Shell (SSH), etc. Forinformation requests for a software level, the security requirement 210may indicate a current software level for the software to determinewhether the remote server software level is at a current level oracceptable recent level. Failure for the remote server 114 to be at thecurrent level may result in preventing the user from exchanging datawith the web page 112 or other resource being accessed.

In a further embodiment, the computer instructions for one of theinteraction types may simulate an attack to probe if the remote server114 is susceptible to a known security vulnerability by determiningwhether expected data can be obtained from the server 114. The securityrequirement determines whether the received server information comprisesthe expected data that would be expected from exploitation of thesecurity vulnerability, such a certain amount of requested data. In thisway, the computer instruction may interact with the server 114 todetermine whether the security program 110 was able to exploit a knownvulnerability. The security action 212 may indicate to prevent the userfrom exchanging data, e.g., logging-in, sending personal information,etc., at the web page 112 if the sever 114 proved susceptible to thesecurity vulnerability. For instance, the computer instructions 208 mayrequest data beyond the length of a provided word, to determine if theserver 114 is exposed to the Heartbleed vulnerability (CVE-2014-0160).If the response is the requested amount of data beyond the length of therequested word, then the security program 110 would have determined thatthe server is exposed to the vulnerability and a security risk.

The security policies 200 may indicate different computer instructions208 to execute to interact with the server 114 in different ways. Thesecurity policies 200 may indicate computer instructions for differenttypes of interactions to perform with respect to the server and multiplesecurity requirements, one for each of the different types ofinteractions. Further, for at least one security policy 200, such as alower security risk type of web site, such as a web site where the useraccounts 122 do not contain personal financial information, the securityaction 212 may indicate to allow the user to access the user account 122in response to determining that one of the at least one executedoperation indicates that the server is exposed to the risk of attack.For a security policy 200 _(i) for a web site 112 providing access touser accounts 112 having user personal financial information, thesecurity action 212 may prevent the user from logging-in if any one ofthe security requirements 210 indicate the vulnerability was exploitedor the software level is not current.

In a further embodiment, the security policies 200 may not indicatecomputer instructions, and the same computer instructions may beexecuted to perform the same interactions regardless of the securitypolicy type 204, but the security policies 200 may have differentsecurity requirements 210 and security 212 actions for the same measuredinteractions.

FIG. 3 illustrates an embodiment of operations performed by the securityprogram 110 to determine whether to access a resource at a remote server114, e.g., allow a user to login at a web site 112 to access their useraccount 122. The resource to access may comprise a user account 122accessible through a web site 112 or other type of account, database,etc., for remote access. Upon detecting (at block 300) a user to attemptto access a resource, such as a web site 112 to access the user account112, the security program 110 determines (at block 301) a type of website 112 or resource the user is trying to access. The type may bedetermined from a list of web sites and types for the web sites, or byquerying the web site for information on the type or nature of the website, and then determining based on the information the type of website, i.e., whether it involves personal financial information. Asecurity policy 200 _(i) for the determined type 206 is determined (atblock 302). A determination is made (at block 303) for the securitypolicy 200 _(i) of the at least one computer instruction 208 for atleast one interaction with the server 114 over the network 116 torequest requested server information, such as a software level or anamount of data to exploit a known security vulnerability, such as tosimulate a malicious attack. The security program 110 executes (at block304) the determined at least one computer instruction 208 to perform theat least one interaction with the server 114 at which the user isattempting to access the user account 122.

If (at block 305) the requested server information is not received foreach of the interactions being performed, then the user is prevented (atblock 306) from exchanging data and information with the web site 112,such as logging-in, registering, sending data, etc. If (at block 305)the user receives server information for each requested interaction,then the security policy 110 determines (at block 307) whether eachinstance of the received server information satisfies at least onesecurity requirement 210 for the interaction. The security action 212for the determined security policy 200 _(i) is performed (at block 308)to determine whether to prevent or allow the user to login to the remoteresource, e.g., user account 122 at the remote web site 112, based onwhether the at least one instance of the received server informationsatisfies the at least one security requirement 210. For instance for aweb site type 206 requiring a higher level of security, such as a website providing access to personal account information, the user loginmay be blocked if any one of the security requirements are not met, suchas those security requirements 210 concerning determining if there arevulnerabilities such that the remote server 114 and user accounts 122would be vulnerable to a malicious attack to misappropriate sensitiveuser personal financial account information. However, for a web sitehaving a user account that does not involve personal financialinformation, such as an entertainment web site, etc., the securityaction 212 may still allow the user to login to the user account 122even if not all the received server information for different instancesof computer instructions 208 satisfy the corresponding securityrequirements 210.

For instance, in one embodiment, a first security policy 200 ₁ isassociated with a first web site type 204 maintaining personal financialaccount information and a second security policy 200 ₂ is associatedwith a second web site type for which personal financial accountinformation is not provided. A first security action 212 associated withthe first security policy 200 ₁ and the first web site type specifies toprevent the user from exchanging data, e.g., logging-in, if one of thedifferent tests performed with respect to the server indicates that theserver is exposed to the risk. A second security action 212 associatedwith the second security policy 200 ₂ and the second web site typespecifies to allow the user to exchange data, e.g., login, if one of thedifferent tests performed with respect to the server indicates that theserver is exposed to the risk.

FIG. 4 illustrates an embodiment of operations performed by the securityprogram 110 when the access is with respect to a user account 122 havingpersonal financial account information. Upon detecting (at block 400)that the web site type 206 provides access to personal financial accountinformation, the security program 110 determines (at block 401) thesecurity policy 200 _(i) associated with the personal financial accountinformation web site type. The security program 110 sends (at block 402)at least one instruction 208 to the server 114 according to thedetermined security policy 200 _(i) requesting a requested amount ofdata from the server 114. The security program 110 sends (at block 403)at least one computer instruction 208 to the server 114 according to thedetermined security policy 200 _(i) requesting a software level forsoftware at the server (e.g., network protocol level, operating systemlevel, security level protocol). If (at block 404) the received softwarelevel is not a current level for the software, then the user isprevented (at block 405) from logging into their account 122 at the website 112. If (at block 404) the received software level is at a currentlevel, then the security program 110 determines (at block 406) whether areceived amount of data in response to the instruction requesting anamount of data comprises the requested amount of data, which indicatesthe web site 112 is vulnerable to a malicious attack. If (at block 406)the received amount of data indicates exposure to one or more securityvulnerabilities, then the user is prevented (at block 405) fromaccessing the user account 112 at the web site 112. If the receivedamount does not equal the requested amount, then the server 114 ispreventing the security vulnerability, and the security program 110allows (at block 407) the user to exchange data with the web site 112.

In certain embodiments, the computer instructions 208 and securityrequirements 210 may include determining whether the server 114 willreturn a requested amount of data similar to what a malicious attackwould request, such as the case with a Heartbleed attack. In furtherembodiments, other tests of the server 114 may be performed to determinewhether other security vulnerabilities are present. Further, thesecurity policies 200 may be remotely updated with new computerinstruction 208 to test web sites against different types of maliciousattacks that seek to exploit security vulnerabilities in program code.

In described embodiments, the security program 110 may perform thechecking whether the web site complies with the security requirements210 whenever the user attempts to exchange data with the web site 112.In alternative embodiments, the security program 110 may saveinformation on the results of the security requirement testing, and useto determine whether to allow or prevent access to the web site duringsubsequent accesses.

Certain of the computer instructions 208 may test securityvulnerabilities by accessing data from the server 114. The securityprogram 110 may immediately delete any data returned by the server 114after the testing to avoid maintaining confidential information.

Described embodiments provide techniques for a security program thatchecks security vulnerabilities at a remote server which the user istrying to access and exchange data, such as at a remote web site, hostor storage, by executing computer instructions to interact with theremote server to obtain server information and determine whether thereceived server information satisfies one or more security requirements.Failure to satisfy the security requirements indicates that the remoteweb site may be vulnerable to malicious attacks. A security actiondetermines whether to allow the user to access an account at the remoteweb site to avoid the user personal information being exposed in anattack based on the nature of the web site.

The present invention may be a system, a method, and/or a computerprogram product. The computer program product may include a computerreadable storage medium (or media) having computer readable programinstructions thereon for causing a processor to carry out aspects of thepresent invention.

The computer readable storage medium can be a tangible device that canretain and store instructions for use by an instruction executiondevice. The computer readable storage medium may be, for example, but isnot limited to, an electronic storage device, a magnetic storage device,an optical storage device, an electromagnetic storage device, asemiconductor storage device, or any suitable combination of theforegoing. A non-exhaustive list of more specific examples of thecomputer readable storage medium includes the following: a portablecomputer diskette, a hard disk, a random access memory (RAM), aread-only memory (ROM), an erasable programmable read-only memory (EPROMor Flash memory), a static random access memory (SRAM), a portablecompact disc read-only memory (CD-ROM), a digital versatile disk (DVD),a memory stick, a floppy disk, a mechanically encoded device such aspunch-cards or raised structures in a groove having instructionsrecorded thereon, and any suitable combination of the foregoing. Acomputer readable storage medium, as used herein, is not to be construedas being transitory signals per se, such as radio waves or other freelypropagating electromagnetic waves, electromagnetic waves propagatingthrough a waveguide or other transmission media (e.g., light pulsespassing through a fiber-optic cable), or electrical signals transmittedthrough a wire.

Computer readable program instructions described herein can bedownloaded to respective computing/processing devices from a computerreadable storage medium or to an external computer or external storagedevice via a network, for example, the Internet, a local area network, awide area network and/or a wireless network. The network may comprisecopper transmission cables, optical transmission fibers, wirelesstransmission, routers, firewalls, switches, gateway computers and/oredge servers. A network adapter card or network interface in eachcomputing/processing device receives computer readable programinstructions from the network and forwards the computer readable programinstructions for storage in a computer readable storage medium withinthe respective computing/processing device.

Computer readable program instructions for carrying out operations ofthe present invention may be assembler instructions,instruction-set-architecture (ISA) instructions, machine instructions,machine dependent instructions, microcode, firmware instructions,state-setting data, or either source code or object code written in anycombination of one or more programming languages, including an objectoriented programming language such as Java, Smalltalk, C++ or the like,and conventional procedural programming languages, such as the “C”programming language or similar programming languages. The computerreadable program instructions may execute entirely on the user'scomputer, partly on the user's computer, as a stand-alone softwarepackage, partly on the user's computer and partly on a remote computeror entirely on the remote computer or server. In the latter scenario,the remote computer may be connected to the user's computer through anytype of network, including a local area network (LAN), storage areanetwork (SAN), or a wide area network (WAN), or the connection may bemade to an external computer (for example, through the Internet using anInternet Service Provider). In some embodiments, electronic circuitryincluding, for example, programmable logic circuitry, field-programmablegate arrays (FPGA), or programmable logic arrays (PLA) may execute thecomputer readable program instructions by utilizing state information ofthe computer readable program instructions to personalize the electroniccircuitry, in order to perform aspects of the present invention.

Aspects of the present invention are described herein with reference toflowchart illustrations and/or block diagrams of methods, apparatus(systems), and computer program products according to embodiments of theinvention. It will be understood that each block of the flowchartillustrations and/or block diagrams, and combinations of blocks in theflowchart illustrations and/or block diagrams, can be implemented bycomputer readable program instructions.

These computer readable program instructions may be provided to aprocessor of a general purpose computer, special purpose computer, orother programmable data processing apparatus to produce a machine, suchthat the instructions, which execute via the processor of the computeror other programmable data processing apparatus, create means forimplementing the functions/acts specified in the flowchart and/or blockdiagram block or blocks. These computer readable program instructionsmay also be stored in a computer readable storage medium that can directa computer, a programmable data processing apparatus, and/or otherdevices to function in a particular manner, such that the computerreadable storage medium having instructions stored therein comprises anarticle of manufacture including instructions which implement aspects ofthe function/act specified in the flowchart and/or block diagram blockor blocks.

The computer readable program instructions may also be loaded onto acomputer, other programmable data processing apparatus, or other deviceto cause a series of operational steps to be performed on the computer,other programmable apparatus or other device to produce a computerimplemented process, such that the instructions which execute on thecomputer, other programmable apparatus, or other device implement thefunctions/acts specified in the flowchart and/or block diagram block orblocks.

The flowchart and block diagrams in the Figures illustrate thearchitecture, functionality, and operation of possible implementationsof systems, methods, and computer program products according to variousembodiments of the present invention. In this regard, each block in theflowchart or block diagrams may represent a module, segment, or portionof instructions, which comprises one or more executable instructions forimplementing the specified logical function(s). In some alternativeimplementations, the functions noted in the block may occur out of theorder noted in the figures. For example, two blocks shown in successionmay, in fact, be executed substantially concurrently, or the blocks maysometimes be executed in the reverse order, depending upon thefunctionality involved. It will also be noted that each block of theblock diagrams and/or flowchart illustration, and combinations of blocksin the block diagrams and/or flowchart illustration, can be implementedby special purpose hardware-based systems that perform the specifiedfunctions or acts or carry out combinations of special purpose hardwareand computer instructions.

The computational device 100 and server 114, and components therein, maybe implemented in one or more computer systems, such as the computersystem 502 shown in FIG. 5. Computer system/server 502 may be describedin the general context of computer system executable instructions, suchas program modules, being executed by a computer system. Generally,program modules may include routines, programs, objects, components,logic, data structures, and so on that perform particular resources orimplement particular abstract data types. Computer system/server 502 maybe practiced in distributed cloud computing environments where resourcesare performed by remote processing devices that are linked through acommunications network. In a distributed cloud computing environment,program modules may be located in both local and remote computer systemstorage media including memory storage devices.

As shown in FIG. 5, the computer system/server 502 is shown in the formof a general-purpose computing device. The components of computersystem/server 502 may include, but are not limited to, one or moreprocessors or processing units 504, a system memory 506, and a bus 508that couples various system components including system memory 506 toprocessor 504. Bus 508 represents one or more of any of several types ofbus structures, including a memory bus or memory controller, aperipheral bus, an accelerated graphics port, and a processor or localbus using any of a variety of bus architectures. By way of example, andnot limitation, such architectures include Industry StandardArchitecture (ISA) bus, Micro Channel Architecture (MCA) bus, EnhancedISA (EISA) bus, Video Electronics Standards Association (VESA) localbus, and Peripheral Component Interconnects (PCI) bus.

Computer system/server 502 typically includes a variety of computersystem readable media. Such media may be any available media that isaccessible by computer system/server 502, and it includes both volatileand non-volatile media, removable and non-removable media.

System memory 506 can include computer system readable media in the formof volatile memory, such as random access memory (RAM) 510 and/or cachememory 512. Computer system/server 502 may further include otherremovable/non-removable, volatile/non-volatile computer system storagemedia. By way of example only, storage system 513 can be provided forreading from and writing to a non-removable, non-volatile magnetic media(not shown and typically called a “hard drive”). Although not shown, amagnetic disk drive for reading from and writing to a removable,non-volatile magnetic disk (e.g., a “floppy disk”), and an optical diskdrive for reading from or writing to a removable, non-volatile opticaldisk such as a CD-ROM, DVD-ROM or other optical media can be provided.In such instances, each can be connected to bus 508 by one or more datamedia interfaces. As will be further depicted and described below,memory 506 may include at least one program product having a set (e.g.,at least one) of program modules that are configured to carry out thefunctions of embodiments of the invention.

Program/utility 514, having a set (at least one) of program modules 516,may be stored in memory 506 by way of example, and not limitation, aswell as an operating system, one or more application programs, otherprogram modules, and program data. Each of the operating system, one ormore application programs, other program modules, and program data orsome combination thereof, may include an implementation of a networkingenvironment. The components of the computer 2 may be implemented asprogram modules 516 which generally carry out the functions and/ormethodologies of embodiments of the invention as described herein.

Computer system/server 502 may also communicate with one or moreexternal devices 518 such as a keyboard, a pointing device, a display520, etc.; one or more devices that enable a user to interact withcomputer system/server 502; and/or any devices (e.g., network card,modem, etc.) that enable computer system/server 502 to communicate withone or more other computing devices. Such communication can occur viaInput/output (I/O) interfaces 522. Still yet, computer system/server 502can communicate with one or more networks such as a local area network(LAN), a general wide area network (WAN), and/or a public network (e.g.,the Internet) via network adapter 524. As depicted, network adapter 524communicates with the other components of computer system/server 502 viabus 508. It should be understood that although not shown, other hardwareand/or software components could be used in conjunction with computersystem/server 502. Examples, include, but are not limited to: microcode,device drivers, redundant processing units, external disk drive arrays,RAID systems, tape drives, and data archival storage systems, etc.

The foregoing description of various embodiments of the invention hasbeen presented for the purposes of illustration and description. It isnot intended to be exhaustive or to limit the invention to the preciseform disclosed. Many modifications and variations are possible in lightof the above teaching. It is intended that the scope of the invention belimited not by this detailed description, but rather by the claimsappended hereto. The above specification, examples and data provide acomplete description of the manufacture and use of the composition ofthe invention. Since many embodiments of the invention can be madewithout departing from the spirit and scope of the invention, theinvention resides in the claims herein after appended.

What is claimed is:
 1. A computer program product for managing a computational device access to a remote resource at a server over a network, the computer program product comprising a computer readable storage medium having computer readable program code embodied therein that executes in the computational device to perform operations, the operations comprising: detecting an attempt by the computational device to exchange data with the remote resource over the network; executing at least one computer instruction to perform at least one interaction by the computational device with the server over the network to request server information for each of the at least one interaction in response to detecting the attempt to exchange data with the remote resource, wherein one of the at least one interaction comprises exploiting a known security vulnerability by sending a request to obtain expected data from the server; receiving server information in response to each of the at least one interaction with the server for the requested server information; determining from the received server information whether the received server information satisfies at least one security requirement by at least determining whether the received server information comprises the expected data indicating the known security vulnerability; and determining whether to prevent the computational device from exchanging of data with the remote resource based on whether the received server information satisfies the at least one security requirement.
 2. The computer program product of claim 1, wherein the requested server information further comprises a requested software level of software at the server, wherein the received server information comprises a received software level of the software at the server, wherein determining whether the received server information satisfies the security requirement comprises determining whether the received software level is at a current level for the software at the server, wherein the operations further comprise: preventing a user from exchanging data with the remote resource in response to determining that the received software level at the server is not at the current level; and allowing the user to exchange data with the remote resource in response to determining that the received software level at the server is at the current level.
 3. The computer program product of claim 2, wherein the requested software level comprises at least one of a network protocol level at the server, an operating system level at the server, and a security protocol level at the server.
 4. The computer program product of claim 1, wherein the expected data comprises a requested amount of data from the server, wherein the received server information comprises a received amount of data, wherein determining whether the received server information satisfies the at least one security requirement comprises determining whether the received amount of data comprises the requested amount of data, and wherein the operations further comprise: preventing a user from exchanging data with the remote resource in response to determining that the received amount of data comprises the requested amount of data; and allowing the user to exchange data with the remote resource in response to determining that the server did not return the requested amount of data.
 5. The computer program product of claim 1, wherein the known security vulnerability comprises a security vulnerability of websites in an Internet.
 6. The computer program product of claim 1, wherein the remote resource comprises a web site providing access to a user account, wherein the operations further comprise: maintaining multiple security policies, wherein each security policy associates a web site type and a security action to perform, wherein the security action indicates to allow or deny a user to exchange data with the web site; determining a web site type in response to detecting the attempt to exchange data with the web site; and performing the security action indicated in the security policy associated with the determined web site type to determine whether to allow the access to the user account based on whether the received server information satisfies the at least one security requirement.
 7. The computer program product of claim 6, wherein the security policies each indicate the at least one computer instruction to execute, wherein at least two of the security policies indicate different computer instructions to execute to interact with the server.
 8. The computer program product of claim 7, wherein the security policies indicate computer instructions for different types of interactions to perform with respect to the server and multiple security requirements, one for each of the different types of interactions.
 9. The computer program product of claim 6, wherein for at least one security policy, the security action indicates to allow access to the user account in response to determining that one of the at least one interaction indicates that the server is exposed to a risk of attack.
 10. The computer program product of claim 6, wherein a first security policy is associated with a first web site type maintaining personal financial account information and wherein a second security policy is associated with a second web site type for which personal financial account information is not provided, wherein the at least one computer instruction comprises multiple operations to perform different tests with respect to the server, wherein a first security action associated with the first web site type specifies to prevent logging-in if one of the different tests performed with respect to the server indicates that the server is exposed to a risk, and wherein a second security action associated with the second web site type specifies to allow exchanging of data with the server if one of the different tests performed with respect to the server indicates that the server is exposed to the risk.
 11. The computer program product of claim 1, wherein the remote resource comprises a web site providing access to a user account, wherein the computer program product interacts with a web browser being used to login to the user account at the web site.
 12. The computer program product of claim 1, wherein the remote resource comprises at least one of a host server and a storage server and wherein the computer program product interacts with a network interface to the at least one of the host server and the storage server through a network.
 13. A system for managing access to a remote resource at a server over a network, comprising: a processor; and a computer readable storage medium having program code that when executed by the processor performs operations, the operations comprising: detecting an attempt by the system to exchange data with the remote resource over the network; executing at least one computer instruction to perform at least one interaction with the server over the network to request server information for each of the at least one interaction in response to detecting the attempt to exchange data with the remote resource, wherein one of the at least one interaction comprises exploiting a known security vulnerability by sending a request to obtain expected data from the server; receiving server information in response to each of the at least one interaction with the server for the requested server information; determining from the received server information whether the received server information satisfies at least one security requirement by at least determining whether the received server information comprises the expected data indicating the known security vulnerability; and determining whether to prevent the system from exchanging of data with the remote resource based on whether the received server information satisfies the at least one security requirement.
 14. The system of claim 13, wherein the at least one computer instruction comprises querying the server to determine a software level of software at the server, wherein the requested server information further comprises a requested software level, wherein the received server information comprises a received software level of the software at the server, wherein determining whether the received server information satisfies the security requirement comprises determining whether the received software level is at a current level for the software at the server, wherein the operations further comprise: preventing a user from exchanging data with the remote resource in response to determining that the received software level at the server is not at the current level; and allowing the user to exchange data with the remote resource in response to determining that the received software level at the server is at the current level.
 15. The system of claim 13, wherein the expected data comprises a requested amount of data from the server, wherein the received server information comprises a received amount of data, wherein determining whether the received server information satisfies the security requirement comprises determining whether the received amount of data comprises the requested amount of data, and wherein the operations further comprise: preventing a user from exchanging data with the remote resource in response to determining that the received amount of data comprises the requested amount of data; and allowing the user to exchange data with the remote resource in response to determining that the server did not return the requested amount of data.
 16. The system of claim 13, wherein the remote resource comprises a web site providing access to a user account, wherein the operations further comprise: maintaining multiple security policies, wherein each security policy associates a web site type and a security action to perform, wherein the security action indicates to allow or deny a user to exchange data with the web site; determining a web site type in response to detecting the attempt to exchange data with the web site; and performing the security action indicated in the security policy associated with the determined web site type to determine whether to allow the access to the user account based on whether the received server information satisfies the at least one security requirement.
 17. The system of claim 16, wherein the security policies each indicate the at least one computer instruction to execute, wherein at least two of the security policies indicate different computer instructions to execute to interact with the server.
 18. The system of claim 17, wherein the security policies indicate computer instructions for different types of interactions to perform with respect to the server and multiple security requirements, one for each of the different types of interactions.
 19. The system of claim 16, wherein for at least one security policy, the security action indicates to allow access to the user account in response to determining that one of the at least one interaction indicates that the server is exposed to a risk of attack.
 20. The system of claim 16, wherein a first security policy is associated with a first web site type maintaining personal financial account information and wherein a second security policy is associated with a second web site type for which personal financial account information is not provided, wherein the at least one computer instruction comprises multiple operations to perform different tests with respect to the server, wherein a first security action associated with the first web site type specifies to prevent logging-in if one of the different tests performed with respect to the server indicates that the server is exposed to a risk, and wherein a second security action associated with the second web site type specifies to allow exchanging of data with the server if one of the different tests performed with respect to the server indicates that the server is exposed to the risk.
 21. A method for managing a computational device access to a remote resource at a server over a network, comprising: detecting an attempt by the computational device to exchange data with the remote resource over the network; executing at least one computer instruction to perform at least one interaction by the computational device with the server over the network to request server information for each of the at least one interaction in response to detecting the attempt to exchange data with the remote resource, wherein one of the at least one interaction comprises exploiting a known security vulnerability by sending a request to obtain expected data from the server; receiving server information in response to each of the at least one interaction with the server for the requested server information; determining from the received server information whether the received server information satisfies at least one security requirement by at least determining whether the received server information comprises the expected data indicating the known security vulnerability; and determining whether to prevent the computational device from exchanging of data with the remote resource based on whether the received server information satisfies the at least one security requirement.
 22. The method of claim 21, wherein the requested server information comprises a requested software level of software at the server, wherein the received server information comprises a received software level of the software at the server, wherein determining whether the received server information satisfies the security requirement comprises determining whether the received software level is at a current level for the software at the server, further comprising: preventing a user from exchanging data with the remote resource in response to determining that the received software level at the server is not at the current level; and allowing the user to exchange data with the remote resource in response to determining that the received software level at the server is at the current level.
 23. The method of claim 21, wherein the expected data comprises a requested amount of data from the server, wherein the received server information comprises a received amount of data, wherein determining whether the received server information satisfies the at least one security requirement comprises determining whether the received amount of data comprises the requested amount of data, further comprising: preventing a user from exchanging data with the remote resource in response to determining that the received amount of data comprises the requested amount of data; and allowing the user to exchange data with the remote resource in response to determining that the server did not return the requested amount of data.
 24. The method of claim 21, wherein the remote resource comprises a web site providing access to a user account, further comprising: maintaining multiple security policies, wherein each security policy associates a web site type and a security action to perform, wherein the security action indicates to allow or deny a user to exchange data with the web site; determining a web site type in response to detecting the attempt to exchange data with the web site; and performing the security action indicated in the security policy associated with the determined web site type to determine whether to allow the access to the user account based on whether the received server information satisfies the at least one security requirement.
 25. The method of claim 24, wherein the security policies each indicate the at least one computer instruction to execute, wherein at least two of the security policies indicate different computer instructions to execute to interact with the server.
 26. The method of claim 25, wherein the security policies indicate computer instructions for different types of interactions to perform with respect to the server and multiple security requirements, one for each of the different types of interactions.
 27. The method of claim 24, wherein for at least one security policy, the security action indicates to allow access to the user account in response to determining that one of the at least one interaction indicates that the server is exposed to a risk of attack.
 28. The method of claim 24, wherein a first security policy is associated with a first web site type maintaining personal financial account information and wherein a second security policy is associated with a second web site type for which personal financial account information is not provided, wherein the at least one computer instruction comprises multiple operations to perform different tests with respect to the server, wherein a first security action associated with the first web site type specifies to prevent logging-in if one of the different tests performed with respect to the server indicates that the server is exposed to a risk, and wherein a second security action associated with the second web site type specifies to allow exchanging of data with the server if one of the different tests performed with respect to the server indicates that the server is exposed to the risk. 